<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h2>登录</h2>
<hr>

<form action="" method="post">
    {% csrf_token %}
    <p>
        用户名：<input type="text" name="uname">
    </p>
    <p>
        密码：<input type="password" name="passwd">
    </p>
    <p>
        <button>登录</button>
    </p>
</form>
</body>
</html>